val scala3Version = "3.4.2"
Compile / unmanagedSourceDirectories  := Seq(baseDirectory.value / "src" /  "scala")
Compile / unmanagedResourceDirectories  += baseDirectory.value / "src"/ "resources"

assembly / assemblyMergeStrategy  := {
  case PathList("META-INF", xs @ _*) => MergeStrategy.discard
  case x => MergeStrategy.first
}
val http4sVersion = "0.23.27"
val circeVersion = "0.14.1"
val log4catsVersion =  "2.7.0"

lazy val root = project
  .in(file("."))
  .settings(
    name := "server",
    version := "0.1.0-SNAPSHOT",

    scalaVersion := scala3Version,

    // libraryDependencies += "org.scalameta" % "munit" % "1.0.0" % Test ,
    // libraryDependencies += "org.apache.hadoop" % "zookeeper" % "3.3.1",
    // libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.13" % Test,
    libraryDependencies += "org.apache.hadoop" % "hadoop-client" % "3.3.1",
    libraryDependencies += "mysql" % "mysql-connector-java" % "8.0.30",
    libraryDependencies += "org.typelevel" %% "cats-effect" % "3.5.4",



    libraryDependencies ++= Seq(
    "org.http4s" %% "http4s-ember-client" % http4sVersion,
    "org.http4s" %% "http4s-ember-server" % http4sVersion,
    "org.http4s" %% "http4s-dsl"          % http4sVersion,
      "org.http4s" %% "http4s-circe" % http4sVersion,

    ),


    libraryDependencies ++= Seq(
    "io.circe" %% "circe-core",
    "io.circe" %% "circe-generic",
    "io.circe" %% "circe-parser"
  ).map(_ % circeVersion)

  )

// addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)

